From: Jesper Harder Date: Mon, 5 Apr 2004 11:57:14 +0000 (+0000) Subject: (gamegrid-add-score-insecure): Use sort-fields. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~23360 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=12d7d7a17ad25525fcc210e59eb4d844f8563fd5;p=emacs.git (gamegrid-add-score-insecure): Use sort-fields. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cb27984f971..5f8b71b739d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2004-04-05 Jesper Harder + + * play/gamegrid.el (gamegrid-add-score-insecure): Use sort-fields. + 2004-04-04 Luc Teirlinck * autorevert.el (auto-revert-handler): If point (or a window diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index 70e9ff2f954..54a8f361c99 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -566,7 +566,7 @@ FILE is created there." ((boundp 'user-mail-address) user-mail-address) (t "")))) - (sort-numeric-fields 1 (point-min) (point-max)) + (sort-fields 1 (point-min) (point-max)) (reverse-region (point-min) (point-max)) (goto-line (1+ gamegrid-score-file-length)) (delete-region (point) (point-max))